<!--
 * @Author: 周艳凯 484894717@qq.com
 * @Date: 2025-03-17 18:01:32
 * @LastEditors: 周艳凯 484894717@qq.com
 * @LastEditTime: 2025-03-31 17:23:38
 * @FilePath: \BusStopBoard.Webd:\360MoveData\Users\75041\Desktop\uniapp框架\my-project\src\pages\index\texts.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <view class="text">
        {{ text }}
    </view>
</template>

<script>
export default {
    name:"texts",
    props: {
        text: {
            type: String,
            default: () => ''
        }
    }
}
</script>

<style lang="scss" scoped>
.text {
    width: 100%;
    height: 215rpx;
    margin-bottom: 4rpx;
    overflow: hidden;
    font-size: 30rpx;
    line-height: 215rpx;
    color: #a0e4fe;
    text-align: center;
    white-space: nowrap;
    background-image: linear-gradient(to bottom, #024ad0 45%, #0b138b 100%);
}
</style>
